package com.ruoyi.applet.domain.vo;


import com.ruoyi.common.core.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

public class OrderByUserId {
    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品介绍 */
    @Excel(name = "商品介绍")
    private String goodsInfo;

    @Excel(name = "图片路径")
    private String imagesUrl;

    @Excel(name = "订单状态唯一标识")
    private long orderStatusId;

    @Excel(name = "订单状态名称")
    private String orderStatusName;

    @Excel(name = "商品规格")
    private String specsValues;

    @Excel(name = "价钱整数")
    private Long productNumber;

    /** 价钱小数 */
    @Excel(name = "价钱小数")
    private Long productDecimal;

    @Excel(name = "商品价格")
    private BigDecimal productPrice;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "订单创建时间", readConverterExp = "支=付时间")
    private Date orderCreateTime;

    @Excel(name = "状态数")
    private Integer statusCount;

    @Excel(name = "商品购买数量")
    private Integer orderNumber;

    @Excel(name = "订单ID")
    private String orderId;


    @Excel(name = "支付剩余小时")
    private String hoursDifference;

    @Excel(name = "支付剩余分钟")
    private String minutesDifference;

    @Excel(name = "支付剩余秒")
    private String secondsDifference;

    @Excel(name = "实付金额")
    private String orderTotal;

    public OrderByUserId() {
    }

    public OrderByUserId(String goodsName, String goodsInfo, String imagesUrl, long orderStatusId, String orderStatusName, String specsValues, Long productNumber, Long productDecimal, BigDecimal productPrice, Date orderCreateTime, Integer statusCount, Integer orderNumber, String orderId, String hoursDifference, String minutesDifference, String secondsDifference, String orderTotal) {
        this.goodsName = goodsName;
        this.goodsInfo = goodsInfo;
        this.imagesUrl = imagesUrl;
        this.orderStatusId = orderStatusId;
        this.orderStatusName = orderStatusName;
        this.specsValues = specsValues;
        this.productNumber = productNumber;
        this.productDecimal = productDecimal;
        this.productPrice = productPrice;
        this.orderCreateTime = orderCreateTime;
        this.statusCount = statusCount;
        this.orderNumber = orderNumber;
        this.orderId = orderId;
        this.hoursDifference = hoursDifference;
        this.minutesDifference = minutesDifference;
        this.secondsDifference = secondsDifference;
        this.orderTotal = orderTotal;
    }

    /**
     * 获取
     * @return orderCreateTime
     */
    public String getOrderCreateTime()
    {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sdf.format(orderCreateTime);
    }

    /**
     * 设置
     * @param orderCreateTime
     */
    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }


    /**
     * 获取
     * @return goodsName
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置
     * @param goodsName
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 获取
     * @return goodsInfo
     */
    public String getGoodsInfo() {
        return goodsInfo;
    }

    /**
     * 设置
     * @param goodsInfo
     */
    public void setGoodsInfo(String goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    /**
     * 获取
     * @return imagesUrl
     */
    public String getImagesUrl() {
        return imagesUrl;
    }

    /**
     * 设置
     * @param imagesUrl
     */
    public void setImagesUrl(String imagesUrl) {
        this.imagesUrl = imagesUrl;
    }

    /**
     * 获取
     * @return orderStatusId
     */
    public long getOrderStatusId() {
        return orderStatusId;
    }

    /**
     * 设置
     * @param orderStatusId
     */
    public void setOrderStatusId(long orderStatusId) {
        this.orderStatusId = orderStatusId;
    }

    /**
     * 获取
     * @return orderStatusName
     */
    public String getOrderStatusName() {
        return orderStatusName;
    }

    /**
     * 设置
     * @param orderStatusName
     */
    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    /**
     * 获取
     * @return specsValues
     */
    public String getSpecsValues() {
        return specsValues;
    }

    /**
     * 设置
     * @param specsValues
     */
    public void setSpecsValues(String specsValues) {
        this.specsValues = specsValues;
    }

    /**
     * 获取
     * @return productNumber
     */
    public Long getProductNumber() {
        return productNumber;
    }

    /**
     * 设置
     * @param productNumber
     */
    public void setProductNumber(Long productNumber) {
        this.productNumber = productNumber;
    }

    /**
     * 获取
     * @return productDecimal
     */
    public Long getProductDecimal() {
        return productDecimal;
    }

    /**
     * 设置
     * @param productDecimal
     */
    public void setProductDecimal(Long productDecimal) {
        this.productDecimal = productDecimal;
    }

    /**
     * 获取
     * @return productPrice
     */
    public BigDecimal getProductPrice() {
        return productPrice;
    }

    /**
     * 设置
     * @param productPrice
     */
    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    /**
     * 获取
     * @return statusCount
     */
    public Integer getStatusCount() {
        return statusCount;
    }

    /**
     * 设置
     * @param statusCount
     */
    public void setStatusCount(Integer statusCount) {
        this.statusCount = statusCount;
    }

    /**
     * 获取
     * @return orderNumber
     */
    public Integer getOrderNumber() {
        return orderNumber;
    }

    /**
     * 设置
     * @param orderNumber
     */
    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    /**
     * 获取
     * @return orderId
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取
     * @return hoursDifference
     */
    public String getHoursDifference() {
        return hoursDifference;
    }

    /**
     * 设置
     * @param hoursDifference
     */
    public void setHoursDifference(String hoursDifference) {
        this.hoursDifference = hoursDifference;
    }

    /**
     * 获取
     * @return minutesDifference
     */
    public String getMinutesDifference() {
        return minutesDifference;
    }

    /**
     * 设置
     * @param minutesDifference
     */
    public void setMinutesDifference(String minutesDifference) {
        this.minutesDifference = minutesDifference;
    }

    /**
     * 获取
     * @return secondsDifference
     */
    public String getSecondsDifference() {
        return secondsDifference;
    }

    /**
     * 设置
     * @param secondsDifference
     */
    public void setSecondsDifference(String secondsDifference) {
        this.secondsDifference = secondsDifference;
    }

    /**
     * 获取
     * @return orderTotal
     */
    public String getOrderTotal() {
        return orderTotal;
    }

    /**
     * 设置
     * @param orderTotal
     */
    public void setOrderTotal(String orderTotal) {
        this.orderTotal = orderTotal;
    }

    public String toString() {
        return "OrderByUserId{goodsName = " + goodsName + ", goodsInfo = " + goodsInfo + ", imagesUrl = " + imagesUrl + ", orderStatusId = " + orderStatusId + ", orderStatusName = " + orderStatusName + ", specsValues = " + specsValues + ", productNumber = " + productNumber + ", productDecimal = " + productDecimal + ", productPrice = " + productPrice + ", orderCreateTime = " + orderCreateTime + ", statusCount = " + statusCount + ", orderNumber = " + orderNumber + ", orderId = " + orderId + ", hoursDifference = " + hoursDifference + ", minutesDifference = " + minutesDifference + ", secondsDifference = " + secondsDifference + ", orderTotal = " + orderTotal + "}";
    }
}
